package com.rj.bd.userinto.dao;


import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import com.rj.bd.userinto.entity.Userinto;





@Repository("UserintoMapper")
public interface UserintoMapper {

	@Select("select * from userinto where uuname = #{arg0}  and uupassword=#{arg1}")
	Userinto login(String uuname, String uupassword);

    @Update("update  userinto set uutoken =#{arg0} where uuid=#{arg1}")
	void update(String uutoken, int uuid);
    
}
